using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Pikapika.Models;

namespace Pikapika.Models.ViewModels.Novel
{
    public class NovelDisplayModel
    {
        public Pikapika.Models.Novel Novel { get; set; }
        public int HitCount { get; set; }
        public int AnnotationCount { get; set; }
        public NovelVolume LatestVolume { get; set; }
        public NovelChapter LatestChapter { get; set; }
        public DateTimeOffset UpdatedDate { get; set; }
        public DateTimeOffset TimeZoneCorrectedUpdatedDate
        {
            get
            {
                return UpdatedDate.ToOffset(Properties.Settings.Default.TimeZone);
            }
        }
    }
}
